import React from "react";

export default class Child1 extends React.Component{
    constructor(props){
        super(props)
        this.state={
            input1:0
        }
    }

    //渲染函数
    render(){
        return (
            <div>
                人民币：
               <span>{this.props.money}</span>
            </div>
        )
    }
}